<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: zackyoung
  Date: 2020/9/9
  Time: 11:15 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isErrorPage="false" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="static/css/style.css" />
</head>
<body>
<table border="1" style="margin: 0 auto;">
    <thead>
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>职务</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach var="user" items="${queryUserList}" varStatus="userStatus">
    <tr>
        <th>${userStatus.index}</th>
        <th>${user.get("user_name")}</th>
        <th>${user.get("role_name")}</th>
    </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>
